<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登陆模仿</title>
</head>
<body>

    <div style="height:35px;width:400px;position:relative;">
        <input type="text" style="height:35px;width:370px;padding-right:30px;" />
        <span style="position:absolute;right:6px;top:10px;background-image:url(i_name.jpg);height:16px;width:16px;display:inline-block;"></span>

    </div>

</body>
</html>